import 'package:flutter/cupertino.dart';
import 'package:flutter_base_plugin/base_library/base_network/bean/http_error_bean.dart';

class HttpErrorWidget extends StatelessWidget {
  HttpErrorBean? error;

  HttpErrorWidget({this.error});

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Center(
      child: Text(
        '${error?.message} \n \n \n \n \n点击重新加载',
        textAlign: TextAlign.center,
        style: TextStyle(
          fontSize: 16,
          color: const Color(0xFFADADAD),
        ),
      ),
    );
  }
}
